package com.kusiri.kframework.component.property.string
{
	import com.kusiri.kframework.component.property.IKfComponentPropertyEditor;
	
	import mx.controls.TextInput;

	public class KfComponentStringPropertyEditor extends TextInput implements IKfComponentPropertyEditor
	{
		/**
		 * 
		 */
		public function set configuration (xml:XML) : void
		{
			text = xml.toString();
		}
		
		/**
		 * 
		 */
		public function get configuration () : XML
		{
			var xml : XML = new XML(text);
			return xml;
		}
		
		/**
		 * Array of IKfComponentPropertyValidationError
		 */
		public function get validationErrors () : Array
		{
			return [];
		}
		
	}
}